package Box2D.Dynamics
{
	import Box2D.Collision.b2Manifold;
	import Box2D.Collision.b2WorldManifold;
	import Box2D.Common.b2Wrapper;
	
	public class b2Contact extends b2Wrapper
	{
		public function b2Contact(wrapper:Object)
		{
			super(wrapper);
		}
		public function GetManifold():b2Manifold{
			return new b2Manifold(call("b2Contact_GetManifold"));
		}
		public function GetWorldManifold(worldManifold:b2WorldManifold):void
		{
			call("b2Contact_GetWorldManifold",worldManifold.wrapper);
		}
		public function GetFixtureA():b2Fixture{
			return call('b2Contact_GetFixtureA');
		}
		public function GetFixtureB():b2Fixture{
			return call('b2Contact_GetFixtureB');
		}
	}
}